package com.aliothservice.catfish.message.data;

import java.util.List;

import org.springframework.data.annotation.Id;

public class MessageHub {

	@Id
	private String id;
	
	// links to User object
	private String phoneNumber;
	
	private List<Message> readMessages;
	private List<Message> unreadMessages;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public List<Message> getReadMessages() {
		return readMessages;
	}

	public void setReadMessages(List<Message> readMessages) {
		this.readMessages = readMessages;
	}

	public List<Message> getUnreadMessages() {
		return unreadMessages;
	}

	public void setUnreadMessages(List<Message> unreadMessages) {
		this.unreadMessages = unreadMessages;
	}
	
}
